The Dreamweaver JavaScript API > Selection functions > dom.source.getText()

 

dom.source.getText()

Availability

Dreamweaver 4.0

Description

Returns the text string in the source between the designated offsets.

Arguments

start, end

start is an integer representing the offset from the beginning of the document.
end is an integer representing the end of the document.

Returns

A string representing the text in the HTML source code between the offsets start and end.